﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcShop.Models.ViewDataModels;

namespace MvcShop.Models.Repositories
{
    public interface INewsRepository<T> : IRepository<T> where T : class
    {
        void Del(IEnumerable<int> values);
        IList<News> GetTitleList(ICriteria criteria, int page, int pageSize, Order orderExpr);
        IList<NewsList> FindAll(int page, int pageSize);
        IList<NewsList> GetHeadLine(int size);
    }
}
